/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.base.model;

import com.yunhoo.sys.util.tree.TreeModel;

/**
 *
 * @author Administrator
 */
public class Category extends TreeModel {

    private Integer status = 1;//状态（启用/停用，1/0）
    private String memo = "";
    private String unit = "";//计量单位
    private Double count = 0d;//数量
    private Double price = 0d;//单价
    private Double total = 0d;//总金额

    public Category() {
    }

    public Category(boolean initWithLoginInfo) {
        super(initWithLoginInfo);
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getCount() {
        return count;
    }

    public void setCount(Double count) {
        this.count = count;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }
}
